from django.http import HttpResponse
from django.shortcuts import render
 
def sample(request):
    return HttpResponse("Think about the worst.")

def xxx(request):
    argv = {}
    import datetime
    now = datetime.datetime.now()
    argv['username'] = "John Bidden"
    argv['timestamp'] = now 
    return render(request, 'xxx.html', argv)
